***Year Fixed Effects Models 

import delimited "case_level_data.csv", clear


*H1 w/ year fixed effects
regress chamber1 netint_avg i.countrycode freegoods_guumx agri_guumx freework_guumx estab_guumx services_guumx capital_guumx transport_guumx compet_guumx tax_guumx customs_guumx socialprov_guumx environment_guumx consum_guumx i.year_casex
regress chamber1 netint_avg agproint_max citations2 judgment_post_2005_amendment sumcaseobs1_avg issue_total high_courtx i.countrycode countryqmv ches_eu_support freegoods_guumx agri_guumx freework_guumx estab_guumx services_guumx capital_guumx transport_guumx compet_guumx tax_guumx customs_guumx socialprov_guumx environment_guumx consum_guumx  i.year_casex

import delimited "issue_level_data.csv", clear


*H2 w/ year fixed effects
regress ecj_int1x i.chamber1 i.countrycode freegoods_guumx agri_guumx freework_guumx estab_guumx services_guumx capital_guumx transport_guumx compet_guumx tax_guumx customs_guumx socialprov_guumx environment_guumx consum_guumx i.year_casex, vce(cluster celex_number)
regress ecj_int1x i.chamber1 post_2005_amendment_case citations1 netint countryqmv agproint  ches_eu_support i.countrycode freegoods_guumx agri_guumx freework_guumx estab_guumx services_guumx capital_guumx transport_guumx compet_guumx tax_guumx customs_guumx socialprov_guumx environment_guumx consum_guumx i.year_casex, vce(cluster celex_number)

*H3 w/ year fixed effects
regress controversy1 i.chamber1 i.countrycode freegoods_guumx agri_guumx freework_guumx estab_guumx services_guumx capital_guumx transport_guumx compet_guumx tax_guumx customs_guumx socialprov_guumx environment_guumx consum_guumx i.year_casex, vce(cluster celex_number)
regress controversy1 i.chamber1 comantiintx post_2005_amendment_case citations1 netintx countryqmv ches_eu_support i.countrycode freegoods_guumx agri_guumx freework_guumx estab_guumx services_guumx capital_guumx transport_guumx compet_guumx tax_guumx customs_guumx socialprov_guumx environment_guumx consum_guumx i.year_casex, vce(cluster celex_number)


*******
*Logits
import delimited "case_level_data.csv", clear

*H1 logit
logit chamber1 netint_avg i.countrycode freegoods_guumx agri_guumx freework_guumx estab_guumx services_guumx capital_guumx transport_guumx compet_guumx tax_guumx customs_guumx socialprov_guumx environment_guumx consum_guumx 

logit chamber1 netint_avg agproint_max citations2 judgment_post_2005_amendment sumcaseobs1_avg issue_total high_courtx i.countrycode countryqmv ches_eu_support freegoods_guumx agri_guumx freework_guumx estab_guumx services_guumx capital_guumx transport_guumx compet_guumx tax_guumx customs_guumx socialprov_guumx environment_guumx consum_guumx 


import delimited "issue_level_data.csv", clear

*H2 logit
logit ecj_int1x i.chamber1 i.countrycode freegoods_guumx agri_guumx freework_guumx estab_guumx services_guumx capital_guumx transport_guumx compet_guumx tax_guumx customs_guumx socialprov_guumx environment_guumx consum_guumx , vce(cluster celex_number)
logit ecj_int1x i.chamber1 post_2005_amendment_case citations1 netint countryqmv agproint  ches_eu_support i.countrycode freegoods_guumx agri_guumx freework_guumx estab_guumx services_guumx capital_guumx transport_guumx compet_guumx tax_guumx customs_guumx socialprov_guumx environment_guumx consum_guumx , vce(cluster celex_number)

*H3 logit
logit controversy1 i.chamber1 i.countrycode freegoods_guumx agri_guumx freework_guumx estab_guumx services_guumx capital_guumx transport_guumx compet_guumx tax_guumx customs_guumx socialprov_guumx environment_guumx consum_guumx , vce(cluster celex_number)
logit controversy1 i.chamber1 comantiintx post_2005_amendment_case citations1 netintx countryqmv ches_eu_support i.countrycode freegoods_guumx agri_guumx freework_guumx estab_guumx services_guumx capital_guumx transport_guumx compet_guumx tax_guumx customs_guumx socialprov_guumx environment_guumx consum_guumx , vce(cluster celex_number)
